package com.elric.mall.mapper;

import com.elric.mall.model.PlanProject;
import com.elric.mall.model.PlanProjectExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface PlanProjectMapper {
    long countByExample(PlanProjectExample example);

    int deleteByExample(PlanProjectExample example);

    int deleteByPrimaryKey(String id);

    int insert(PlanProject record);

    int insertBatch(List<PlanProject> records);

    int insertSelective(PlanProject record);

    List<PlanProject> selectByExampleWithBLOBs(PlanProjectExample example);

    List<PlanProject> selectByExample(PlanProjectExample example);

    PlanProject selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PlanProject record, @Param("example") PlanProjectExample example);

    int updateByExampleWithBLOBs(@Param("record") PlanProject record, @Param("example") PlanProjectExample example);

    int updateByExample(@Param("record") PlanProject record, @Param("example") PlanProjectExample example);

    int updateByPrimaryKeySelective(PlanProject record);

    int updateByPrimaryKeyWithBLOBs(PlanProject record);

    int updateByPrimaryKey(PlanProject record);
}